package com.guide.service;

import java.util.List;
import java.util.Map;

import com.guide.bizdto.AccountSel;
import com.guide.bizdto.IndexSel;
import com.guide.bizdto.UserInfoParam;
import com.guide.domain.Account;
import com.guide.domain.Guide;
import com.guide.domain.Personal;
import com.guide.domain.Travelorg;


public interface AccountService {

	/**
	 * 用户注册
	 * @param userInfoParam
	 * @return
	 */
	public Account register(UserInfoParam userInfoParam);
	
	/**
	 * 
	 * @param userInfoParam
	 * @return
	 */
	public Account login(UserInfoParam userInfoParam);
	
	public void adminModifyPass(AccountSel accountSel,Account account);
	
	public Travelorg getTravelorgByUserId(Long userId);
	
	public Personal getPersonalByUserId(Long userId);
	
	public UserInfoParam getTravelorgById(Long id);
	
	public UserInfoParam getGuideById(Long id);
	
	public UserInfoParam getPersonalById(Long id);
	
	public UserInfoParam getApplyGuideByConfirm(Long teamId);
	
	public UserInfoParam getAccountDetailByAccount(Account account);
	
	public UserInfoParam getAccountDetailByTeamId(Long teamId);
	
	public boolean checkAccountPrefect(Account account);
	
	public void modifyAccountDetail(Account account,UserInfoParam userInfoParam);
	
	public Account getAccountByUserName(String userName);
	
	public Account getAccountById(Long id);
	
	public Map<String,Object> getAccountList(AccountSel sel);
	
	public void modifyAccount(Account account);
	
	public Map<String,Object> getGuideListByScore(IndexSel indexSel);
	
	public Map<String,Object> getTravelorgListByScore(IndexSel indexSel);
	
	

}
